package cn.jiyun.service.impl;

import cn.jiyun.mapper.FenLeiMapper;
import cn.jiyun.pojo.FenLei;
import cn.jiyun.service.FenLeiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FenLeiServiceImpl implements FenLeiService {

      @Autowired
      private FenLeiMapper fenLeiMapper;

    @Override
    public List<FenLei> findAll() {
        return fenLeiMapper.findAll();
    }
}
